package org.budo.jdbc.sharding.proxy;

import org.budo.jdbc.driver.JdbcUrl;
import org.budo.sharding.proxy.BudoShardingProxy;

/**
 * @author lmw
 */
public class PROXY_MYSQL_EXCEL {
    public static void main(String[] args) {
        BudoShardingProxy budoShardingProxy = new BudoShardingProxy();

        budoShardingProxy.targetMap().put("excel_xls", new JdbcUrl() //
                .setUrl("jdbc:excel://D:/jdbc.xls") //
                .setUsername("随便") //
                .setDriver("org.budo.excel.jdbc.driver.BudoExcelJdbcDriver"));

        budoShardingProxy.start();
    }
}